﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows;

namespace Zero.UControl.Component
{
    public class RollLoading : LoadingBase
    {

        static RollLoading()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(RollLoading),
                new FrameworkPropertyMetadata(typeof(RollLoading)));
        }

        public Color ForegroundColor
        {
            get => (Color)GetValue(ForegroundColorProperty);
            set => SetValue(ForegroundColorProperty, value);
        }

        public static readonly DependencyProperty ForegroundColorProperty =
            DependencyProperty.Register("ForegroundColor", typeof(Color), typeof(RollLoading),
                new PropertyMetadata(Colors.Red));

        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();
        }
    }
}
